<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>

<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<c:set var="ctx" value="${pageContext.request.contextPath}" />

<!DOCTYPE html>
<!--[if IE 8]> <html lang="en" class="ie8 no-js"> <![endif]-->
<!--[if IE 9]> <html lang="en" class="ie9 no-js"> <![endif]-->
<!--[if !IE]><!-->
<html lang="en" class="no-js">
<!--<![endif]-->
<!-- BEGIN HEAD -->
<head>
    <title>模块菜单</title>

</head>



<body class="page-header-fixed">

<!-- BEGIN PAGE HEADER-->
<div class="row">
    <div class="col-md-12">
        <!-- BEGIN PAGE TITLE & BREADCRUMB-->
        <h3 class="page-title">
            系统设置 <small>菜单列表</small>
        </h3>
        <ul class="page-breadcrumb breadcrumb">
            <li>
                <i class="fa fa-home"></i>
                <a href="${ctx}">
                    首页
                </a>
                <i class="fa fa-angle-right"></i>
            </li>
            <li>
                <a href="${ctx}/menu">
                    菜单管理
                </a>
                <i class="fa fa-angle-right"></i>
            </li>
            <li>
                <a href="#">
                    菜单列表
                </a>
            </li>
        </ul>
        <!-- END PAGE TITLE & BREADCRUMB-->
    </div>
</div>
<!-- END PAGE HEADER-->
<!------内容区----->
<div class="main">

    <div >

	<a href="${ctx}/menu/add" class="btn blue">添加模块</a>

	
	<a href="${ctx}/menu/addpermission" class="btn blue">添加权限点</a>
    </div>
    <div class="row">
        <div class="col-md-12">
            <table class="table table-striped table-hover zqy-table">
                <thead>
                <tr>
                    <th>序号</th>
                    <th>名称</th>
                    <th>上级模块</th>
                    <th>是否大模块</th>
                    <th>是否菜单</th>
                    <th>权限名</th>
                    <th>创建日期</th>
                    <th>操作</th>
                </tr>
                </thead>
                <tbody>
                <c:forEach var="listValue" items="${lists}">
                <tr>
                    <td>${listValue.getId()}</td>
                    <td>${listValue.getName()}</td>
                    <td>${listValue.getParent_id()}</td>
                    <td>${listValue.getIs_model()}</td>
                    <td>${listValue.getIs_menu()}</td>
                    <td>${listValue.getPermission_name()}</td>
                    <td>${listValue.getCreate_on()}</td>
               
                    <td>
                        <a href="编辑管理员.html" class="btn btn-xs">编辑</a>
                        <a href="" class="btn btn-xs" data-delete-confirm>删除</a>
                    </td>
                </tr>
                </c:forEach>
                </tbody>
            </table>
            <div class="text-center">
                <ul class="pagination">
                    <li>
                        <a href="#">
                            <i class="fa fa-angle-left"></i>
                        </a>
                    </li>
                    <li>
                        <a href="#">
                            1
                        </a>
                    </li>
                    <li>
                        <a href="#">
                            2
                        </a>
                    </li>
                    <li>
                        <a href="#">
                            3
                        </a>
                    </li>
                    <li>
                        <a href="#">
                            4
                        </a>
                    </li>
                    <li>
                        <a href="#">
                            5
                        </a>
                    </li>
                    <li>
                        <a href="#">
                            6
                        </a>
                    </li>
                    <li>
                        <a href="#">
                            <i class="fa fa-angle-right"></i>
                        </a>
                    </li>
                </ul>
            </div>

        </div>
    </div>

</div>
<!------[end]内容区----->
</body>
</html>
